package com.example.administrator.yuejian_15.activity;

import android.content.Intent;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;

import com.example.administrator.yuejian_15.R;

public class OrderActivity extends BaseActivity implements View.OnClickListener {

    ImageView or_fh;
    LinearLayout or_kc,or_px,or_bs;

    @Override
    void initView() {
        setLayout_file(R.layout.activity_order);
        or_fh=(ImageView)findViewById(R.id.or_fh);
        or_kc=(LinearLayout)findViewById(R.id.or_kc);
        or_px=(LinearLayout)findViewById(R.id.or_px);
        or_bs=(LinearLayout)findViewById(R.id.or_bs);

    }

    @Override
    void initEvent() {
        or_fh.setOnClickListener(this);
        or_px.setOnClickListener(this);

    }

    @Override
    void initDate() {

    }

    @Override
    public void onClick(View view) {
        switch (view.getId()){
            case R.id.or_fh:
                finish();
                break;
            case R.id.or_px:
                Intent intent=new Intent(OrderActivity.this,GetPxOrderActivity.class);
                startActivity(intent);
                break;
        }

    }
}
